# -*- coding:utf8 -*-
import BotDC, time
config = {
    'host': '91.144.171.226',
    'port': 411,
    'nick': 'killnews',
    'password': 'qwerty123',
    'coding_hub': 'cp1251'
}

while 1:
    BotDC.pydcbot(config, BotDC.EventsDC).run()
    print "Reconnect"
    time.sleep(5)
